package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)"`
	Password string `gorm:"type:varchar(32)"`
}
type Goods struct {
	gorm.Model
	GoodsName string `gorm:"type:varchar(30)"`
	Price     string `gorm:"type:varchar(30)"`
	Content   string `gorm:"type:varchar(30)"`
	Num       int    `gorm:"type:int"`
}
type Comment struct {
	gorm.Model
	Gid     int    `gorm:"type:int"`
	Content string `gorm:"type:varchar(30)"`
}
